package com.lz.gmall.item.service.impl;

import com.lz.gmall.cache.anno.GmallCacheTest;
import com.lz.gmall.item.service.AopSkuInfoService;
import com.lz.gmall.product.entity.SkuInfo;
import org.springframework.stereotype.Service;

@Service
public class AopSkuInfoServiceImpl implements AopSkuInfoService {

    @Override
    @GmallCacheTest
    public SkuInfo findSkuInfoById(Long skuId) {
        SkuInfo skuInfo = new SkuInfo();
        skuInfo.setId(skuId);
        return skuInfo;
    }
}
